﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 计算
{
    class Calculate
    {
        private double numberOne;
        private double numberTwo;

        public double NumberOne { get => numberOne; set => numberOne = value; }
        public double NumberTwo { get => numberTwo; set => numberTwo = value; }

        public virtual void DisplayResult( double n1,double n2)
        {
            Console.WriteLine("开始计算");
        }
    }
}
